USE db_World

IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID('usp_getPersonsWithHigherMoneyAmount'))
BEGIN
    DROP PROCEDURE usp_getPersonsWithHigherMoneyAmount
END
GO

CREATE PROCEDURE usp_getPersonsWithHigherMoneyAmount(@MoneyAmount MONEY)
AS
	SELECT
		person_firstName,
		person_lastName
			FROM tbl_Persons
		JOIN tbl_Accounts
			ON account_personId = person_id
		WHERE account_balance >= @MoneyAmount
GO

DECLARE @Money MONEY = 700; 
EXEC usp_getPersonsWithHigherMoneyAmount @Money